	<div class="u_buzz_item">
		<div class="u_buzz_item_l">
			<a href="<?php echo Yii::app()->createUrl('profile/index', array('id'=>$comment['user']['id']));?>">
				<?php echo $this->material_image('', Yii::app()->user->getState('avatar'), '50', 'photos/'. Yii::app()->user->id . '/' . 0); ?>
			</a>
		</div>
		<div class="u_buzz_item_r">
			<div class="u_buzz_name">
				<a href="<?php echo Yii::app()->createUrl('profile/index', array('id'=>$comment['user']['id']));?>">
					<?php echo CHtml::encode($comment['user']['name']); ?>
				</a>
				<span class="u_buzz_date">0 минут назад</span>
				<div class="u_buzz_link_block hidden">
					<a href="<?php echo Yii::app()->createAbsoluteUrl("profile/deletecomment", array('comment_id'=>$comment['comment_id'])); ?>" class="u_buzz_link l2 comment_delete" onclick="return false;">
						<div class="user_action_item_tooltip c hidden">
							<div class="cc">Удалить сообщение</div>
						</div>
					</a>
				</div>
			</div>
			<p class="u_buzz_text">
				<?php echo nl2br(CHtml::encode(rawurldecode($comment['text']))); ?>
				<div class="commentPhoto">
					<?php $imgClass = count($comment['images'])>1 ? (count($comment['images'])%2==0 ? 'many2' : 'many3')  : 'one' ;?>
					<?php foreach($comment['images'] as $image){ ?>
						<?php if($image->id){ ?>
							<div class="commentPhotoItem <?php echo $imgClass;?>">
								<a href="<?php echo Yii::app()->createUrl('albums/photo', array('id'=>$image->id));?>" class="photoBg">
									<?php echo $this->material_image($image->album_id, $image->name, '270', 'photos/'. $comment['user']['id']. '/' . $image->album_id); ?>
								</a>
							</div> 
						<?php } ?>
					<?php } ?>
				</div>				
				
				<div class="commentVideo">
					<?php foreach($comment['videos'] as $video){ ?>
						<div class="commentVideoItem"><?php echo $video->code; ?></div>
					<?php } ?>	
				</div>
				
				<div class="commentMusic">
					<div class="u_audio_player profileMusic">
						<?php foreach($comment['musics'] as $music){ ?>
							<div class="u_audio__item">
								<div class="play_btn"></div>
								<div class="u_audio_track">
									<?php if($music->artist){ ?>
										<a href="#" data-src="<?php echo '/upload/audio/'.$music->music_info->file;?>" class="u_audio__autor"><?php echo $music->artist;?></a>
										<span> &mdash; </span>
									<?php } ?>
									<a href="#" data-src="<?php echo '/upload/audio/'.$music->music_info->file;?>" class="u_audio__name"><?php echo $music->name;?></a>
								</div>
							</div>								
						<?php } ?>	
					</div>				
				</div>					
			</p>
			
			<p class="u_buzz_comment_link">
				<?php if(!$comment['parent_id']){ ?>
					<a href="" class="new_child_comment" class="new_child_comment" onclick="return false;">Комментировать</a>
				<?php } ?>
				
				<?php $this->renderPartial('_commentLikes',array(
					'comment_id' => $comment['comment_id'],
					'countLikes' => 0,
					'likes'	=> array()
				)); ?>	
			</p>	
		</div>
		
		<div class="child_comments hidden">
			<div class="user_block">
				<div class="commentList"></div>
				<?php //if( ($_GET['id'] == Yii::app()->user->id) || ($comment_notification == 0) ) : ?>
					<div class="u_buzz">
						<form action="<?php echo Yii::app()->createAbsoluteUrl('profile/insertcomment', array('id'=>$_GET['id'], 'parent_id'=>$comment['comment_id'])); ?>" id="buzz_message" class="new_comment_form">
							<div class="flds_border">
								<div class="flds_border_inside">
									<textarea name="text" class="new_comment_text">Ваше сообщение</textarea>
									<input type="hidden" name="parent_id" class="new_comment_parent_id" value="<?php echo $comment['comment_id']; ?>" />
								</div>
							</div>
							<div class="attachment"></div>
							<div class="buzz_action">
								<div class="buzz_btn btn">
									<input type="button" value="Написать" class="new_comment_button" />
								</div>
								<div class="buzz_adds">
									<div class="buzz_adds_item add_attachment_to_comment" rel="<?php echo Yii::app()->createAbsoluteUrl('profile/getvideosforcomment', array('id'=>$_GET['id'])); ?>">
										<div class="buzz_adds_item_icon i4"></div>
										<div class="user_action_item_tooltip c hidden"><div class="cc">Добавить видеоролик</div></div>
									</div>
									<div class="buzz_adds_item add_attachment_to_comment" rel="<?php echo Yii::app()->createAbsoluteUrl('profile/getmusicsforcomment', array('id'=>$_GET['id'])); ?>">
										<div class="buzz_adds_item_icon i5"></div>
										<div class="user_action_item_tooltip c hidden"><div class="cc">Добавить аудиозапись</div></div>
									</div>
									<div class="buzz_adds_item add_attachment_to_comment" rel="<?php echo Yii::app()->createAbsoluteUrl('profile/getimagesforcomment', array('id'=>$_GET['id'])); ?>">
										<div class="buzz_adds_item_icon i6"></div>
										<div class="user_action_item_tooltip c hidden"><div class="cc">Добавить изображение</div></div>
									</div>
									<div class="clear"></div>
								</div>
							</div>
						</form>
					</div>
				<?php //endif;?>
			</div>
		</div>